package com.origin.uilibrary.dailog.common;

import android.content.Context;
import android.content.DialogInterface;

import com.origin.uilibrary.R;
import com.origin.uilibrary.dailog.bese.BaseDialog;


public class CommonDialog extends BaseDialog {
    public CommonDialog(Context context) {
        super(context);
    }

    public CommonDialog(Context context, int themeResId) {
        super(context, themeResId);
    }

    protected CommonDialog(Context context, boolean cancelable, DialogInterface.OnCancelListener cancelListener) {
        super(context, cancelable, cancelListener);
    }

    @Override
    public int setUpLayoutId() {
        return R.layout.dialog_loading;
    }

    public void setText(String msg) {
        setText(R.id.tipTextView, msg);
    }


}
